home *** CD-ROM | disk | FTP | other *** search
- property ancestor, pMIAW
- global gGraphHelp
-
- on new me, buttonName, castName, theChannel, theStageLoc, descendant
- if objectp(descendant) then
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, descendant)
- else
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, me)
- end if
- return me
- end
-
- on setMIAW me, miaw
- pMIAW = miaw
- return me
- end
-
- on performFunction me
- outScope(pMIAW)
- if windowPresent("Graph Help") then
- closeMe(gGraphHelp)
- end if
- go(getNextPage(pMIAW))
- return me
- end
-